package com.wanxi.chat.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class ChatEntity implements Serializable {
    public Long Id;
    public Long fromId;
    public String content;
    public Long toId;
    public String orderNum;
    public Long productEntityId;
    public Date createDate;
    public Date updateDate;
    public String createUser;
    public String updateUser;
    public Integer type;
    public String remarks;
    public Integer currentPage;
    public Integer pageSize;
    //是否接收
    public String lineState;
    //删除
    public String state;

    @Override
    public String toString() {
        return "ChatEntity{" +
                "Id=" + Id +
                ", fromId=" + fromId +
                ", content='" + content + '\'' +
                ", toId=" + toId +
                ", orderNum=" + orderNum +
                ", productEntityId=" + productEntityId +
                ", createDate=" + createDate +
                ", updateDate=" + updateDate +
                ", createUser='" + createUser + '\'' +
                ", updateUser='" + updateUser + '\'' +
                ", type=" + type +
                ", remarks='" + remarks + '\'' +
                ", curPage=" + currentPage +
                ", pageSize=" + pageSize +
                '}';
    }
}
